package com.aim.analysis.records.bean;

/**
 * User: Avraham Shvartzon
 * Date: 6/5/14
 */
public class PerformanceData {

    public int totalSd;
    public int totalCl;
    public int totalFire;
    public int sessionSd;
    public int sessionCl;
    public int sessionFire;

    public long[] shutdownTimes;
    public long[] collistionTimes;
    public long[] fireTimes;

    public PerformanceData() {
    }

    public PerformanceData(long[] collistionTimes, long[] shutdownTimes, long[] fireTimes) {
        this.collistionTimes = collistionTimes;
        this.shutdownTimes = shutdownTimes;
        this.fireTimes = fireTimes;

        totalCl = collistionTimes.length;
        totalSd = shutdownTimes.length;
        totalFire = fireTimes.length;
    }

    public int getTotalShutdown() {
        return totalSd;
    }

    public void setTotalSd(int totalSd) {
        this.totalSd = totalSd;
    }

    public int getTotalCollision() {
        return totalCl;
    }

    public void setTotalCl(int totalCl) {
        this.totalCl = totalCl;
    }

    public int getTotalFire() {
        return totalFire;
    }

    public void setTotalFire(int totalFire) {
        this.totalFire = totalFire;
    }

    public int getSessionSd() {
        return sessionSd;
    }

    public void setSessionSd(int sessionSd) {
        this.sessionSd = sessionSd;
    }

    public int getSessionCollision() {
        return sessionCl;
    }

    public void setSessionCl(int sessionCl) {
        this.sessionCl = sessionCl;
    }

    public int getSessionFire() {
        return sessionFire;
    }

    public void setSessionFire(int sessionFire) {
        this.sessionFire = sessionFire;
    }

    public long[] getShutdownTimes() {
        return shutdownTimes;
    }

    public void setShutdownTimes(long[] shutdownTimes) {
        this.shutdownTimes = shutdownTimes;
    }

    public long[] getCollisionTimes() {
        return collistionTimes;
    }

    public void setCollistionTimes(long[] collistionTimes) {
        this.collistionTimes = collistionTimes;
    }

    public long[] getFireTimes() {
        return fireTimes;
    }

    public void setFireTimes(long[] fireTimes) {
        this.fireTimes = fireTimes;
    }
}
